package com.spark.incoicings.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.spark.incoicings.dao.SaleCustomerMapper;
import com.spark.incoicings.service.SaleCustomerService;
import com.spark.incoicings.vo.CustomerVO;
import com.spark.invoicings.entity.SaleCustomer;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class SaleCustomerServiceImpl extends ServiceImpl<SaleCustomerMapper, SaleCustomer> implements SaleCustomerService {
    @Resource
    private SaleCustomerMapper scm;

    @Override
    public CustomerVO selectCustomerVo(Integer id) {
        return scm.selectCustomerVo(id);
    }
}
